<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>新闻管理系统</title>
	<style type="text/css">
		table{
			font-family:微软雅黑;
			border-collapse:collapse;

		}
		h3{
			font-family:微软雅黑;
		}

	</style>
</head>
<body>
	<center>
		@include('news/menu')

		<h3>修改新闻信息</h3>

				<form action="/news/update" method='post'>
				<table border='0' width='400' >				

				<tr>
					<td align='right'>标题:</td>
					<td><input type="text" name='title' value="{{$row->title}}"></td>
				</tr>
				<tr>
					<td align='right'>关键字:</td>
					<td><input type="text" name='keywords' value="{{$row->keywords}}"></td>
				</tr>
				<tr>
					<td align='right'>作者:</td>
					<td><input type="text" name='author' value="{{$row->author}}"></td>
				</tr>
				<tr>
					<td align='right'>内容:</td>
					<td><textarea name="content" id="" cols="30" rows="5" style='resize:none'>{{$row->content}}</textarea></td>
				</tr>
				<tr>
					<td colspan='3' align='center'>
						{{ csrf_field() }}
						<input type="hidden" name='id' value="{{$row->id}}">
						<input type="submit" value='修改' />&nbsp;&nbsp;&nbsp;
						<input type="reset" value='重置' />
					</td>
					
				</tr>

			</table>
		</form>
	</center>	
</body>
</html>